package com.compass.framework.model

/**
 * Description： 关注bean
 * Date:2024/1/27 10:36
 */
data class PatientFollowWarp(
    val list: MutableList<PatientFollow>,
    var total: Int

)

data class PatientFollow(
    val id: String,
    val doctorId: String,
    val patientId: String,
    val patientUserId: String,
    val patientUserName: String,
    val patientUsersex: Int = 0,
    val patientUserage: String,
    val patientUseravatar: String,
    val followTime: Long

) {
    fun getAge(): String {

        return if (patientUserage.isNullOrEmpty()) "0" else patientUserage
    }

    fun getUserNam(): String {
        return if (patientUserName.isNullOrEmpty()) "未知姓名" else patientUserName
    }
}
